%TP1 - partie 1.2
clc;

%question 2
t=0:0.1:1;
x=-pi:0.1:pi;
y=sin(2*pi*5*t);
subplot(2,1,1);
plot(y);
grid;
xlabel('x'),ylabel('y');
title('y= f(x)');

%question 3
subplot(2,1,2);
y=randn(1,1000);
plot(y);
grid;
xlabel('x'),ylabel('y');
title('y= f(x)');
